package ysu.sxm.ptjc.Domin;

import org.springframework.stereotype.Component;

import java.sql.Timestamp;
@Component
public class Daily {
    //产品编号
    private String produceNum;
    //生产日期
    private Timestamp produceDate;
    //信息id
    private Integer infoId;
    //返工数量
    private Long reworkNum;
    //报废数量
    private Long scrapNum;
    //生产数量
    private Long produceQuantity;
    //合格数量
    private Long qualifyNum;

    //返工率
    private Double reworkRate;
    //报废率
    private Double scrapRate;
    //不合格率
    private Double unqualified_Rate;
    //一次合格率
    private Double firstpassRate;
    //总合格率
    private Double totalqualified_Rate;

    //客户id
    private String customerId;
    //颜色
    private String color;
    //车型id
    private String carTypeId;
    //车间id
    private String workshopId;

    //产品id
    private Long produceId;
    //产品类型
    private String produceType;
    //线别
    private Long lineId;
    //组别
    private Long group;
    //产品名称
    private String produceName;

    public String getProduceNum() {
        return produceNum;
    }

    public void setProduceNum(String produceNum) {
        this.produceNum = produceNum;
    }

    public Timestamp getProduceDate() {
        return produceDate;
    }

    public void setProduceDate(Timestamp produceDate) {
        this.produceDate = produceDate;
    }

    public Integer getInfoId() {
        return infoId;
    }

    public void setInfoId(Integer infoId) {
        this.infoId = infoId;
    }

    public Long getReworkNum() {
        return reworkNum;
    }

    public void setReworkNum(Long reworkNum) {
        this.reworkNum = reworkNum;
    }

    public Long getScrapNum() {
        return scrapNum;
    }

    public void setScrapNum(Long scrapNum) {
        this.scrapNum = scrapNum;
    }

    public Long getProduceQuantity() {
        return produceQuantity;
    }

    public void setProduceQuantity(Long produceQuantity) {
        this.produceQuantity = produceQuantity;
    }

    public Long getQualifyNum() {
        return qualifyNum;
    }

    public void setQualifyNum(Long qualifyNum) {
        this.qualifyNum = qualifyNum;
    }

    public Double getReworkRate() {
        return reworkRate;
    }

    public void setReworkRate(Double reworkRate) {
        this.reworkRate = reworkRate;
    }

    public Double getScrapRate() {
        return scrapRate;
    }

    public void setScrapRate(Double scrapRate) {
        this.scrapRate = scrapRate;
    }

    public Double getUnqualified_Rate() {
        return unqualified_Rate;
    }

    public void setUnqualified_Rate(Double unqualified_Rate) {
        this.unqualified_Rate = unqualified_Rate;
    }

    public Double getFirstpassRate() {
        return firstpassRate;
    }

    public void setFirstpassRate(Double firstpassRate) {
        this.firstpassRate = firstpassRate;
    }

    public Double getTotalqualified_Rate() {
        return totalqualified_Rate;
    }

    public void setTotalqualified_Rate(Double totalqualified_Rate) {
        this.totalqualified_Rate = totalqualified_Rate;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getCarTypeId() {
        return carTypeId;
    }

    public void setCarTypeId(String carTypeId) {
        this.carTypeId = carTypeId;
    }

    public String getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(String workshopId) {
        this.workshopId = workshopId;
    }

    public Long getProduceId() {
        return produceId;
    }

    public void setProduceId(Long produceId) {
        this.produceId = produceId;
    }

    public String getProduceType() {
        return produceType;
    }

    public void setProduceType(String produceType) {
        this.produceType = produceType;
    }

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    public Long getGroup() {
        return group;
    }

    public void setGroup(Long group) {
        this.group = group;
    }

    public String getProduceName() {
        return produceName;
    }

    public void setProduceName(String produceName) {
        this.produceName = produceName;
    }

    @Override
    public String toString() {
        return "Daily{" +
                "produceNum='" + produceNum + '\'' +
                ", produceDate=" + produceDate +
                ", infoId=" + infoId +
                ", reworkNum=" + reworkNum +
                ", scrapNum=" + scrapNum +
                ", produceQuantity=" + produceQuantity +
                ", qualifyNum=" + qualifyNum +
                ", reworkRate=" + reworkRate +
                ", scrapRate=" + scrapRate +
                ", unqualified_Rate=" + unqualified_Rate +
                ", firstpassRate=" + firstpassRate +
                ", totalqualified_Rate=" + totalqualified_Rate +
                ", customerId='" + customerId + '\'' +
                ", color='" + color + '\'' +
                ", carTypeId='" + carTypeId + '\'' +
                ", workshopId='" + workshopId + '\'' +
                ", produceId=" + produceId +
                ", produceType='" + produceType + '\'' +
                ", lineId=" + lineId +
                ", group=" + group +
                ", produceName='" + produceName + '\'' +
                '}';
    }
}
